package com.xx;

import com.xx.service.StudentService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
    public static void main(String[] args) {
        System.out.println( "Hello World!" );

        ApplicationContext ctx = new ClassPathXmlApplicationContext("springContext.xml");

        StudentService studentService = ctx.getBean(StudentService.class);

        studentService.getListStudent();
    }
}
